[Manager Summary]
Sets for the print dialog box the page numbers at which to begin and end printing.
OSStatus PMSetPageRange(PMPrintSettings printSettings, UInt32 minPage, UInt32 maxPage)
PARAMETERS
printSettings
- A PMPrintSettings object previously created by your application for the current printing session. On return, this object is updated to reflect the page numbers you specify in the minPage and maxPage parameters.
minPage
- A page number. Pass the number for the first page to print.
maxPage
- A page number. Pass the number for the last page to print.
- function result
- Passing TRUE in the lock parameter effects only printer drivers for Mac OS X and LaserWriter printer drivers version 8.7 or later. If you pass TRUE for any other printer driver, this function returns the result code kPMLockIgnored.
CARBON PORTING NOTES
The PMSetPageRangefunction replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and sets information previously stored in the iFstPage and iLstPage fields of the Printing Manager structure TPrJob.
Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.